<?php
session_start();
unset($_SESSION);
$_SESSION = array();
if (isset($_COOKIE[session_name()])) {
	setcookie(session_name(), '', time()-42000, '/');
}
session_destroy();
header("location: ../index.php" );
?>